package com.example.design.factory;

public abstract class LoggerFactory {
	public abstract Logger createLogger();
	public abstract Logger createLogger(String name);
	public abstract Logger createLogger(Object object);
	
	public void writeLog(){
		Logger logger = this.createLogger();
		logger.writeLog();
	}
}
